﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Upadan
{
   public class ProductColor
    {
        private String id;
        private String name;
        private char live;
        public String Id {
            get {
                return id;
            }
            set {
                id = value;
                id = (id.Length > 20) ? id.Substring(0,20) : id;
            }
        }
        public String Name {

            get {
                return name;
            }
            set {
                name = value;
                name = (name.Length > 50) ? name.Substring(0, 50) : name;
            }
        }
        public char isLive {
            get {
                return live;
            }
            set {
                live = value;
            }
        }
    }
}
